package com.example.springcloudconfig.web.feigin;

import com.example.springcloudconfig.bean.User;
import org.springframework.stereotype.Component;

@Component
public class OrderActionHystrix implements OrderAction{
    @Override
    public String order() {
        return "open feign 降级 order";
    }

    @Override
    public String hello(String name) {
        return "open feign 降级 hello " + name;
    }

    @Override
    public String hello1(String name) {
        return null;
    }


    @Override
    public int add(int a, int b) {
        return 0;
    }

    @Override
    public User showme(User user, String newName) {
        return null;
    }
}